using System;
using System.Collections.Generic;
using System.Text;

namespace EZCRS.HCMS.Entity
{
    public class hfg_scorebuylog
    {
        private int? _id;
        private int? _gid;
        private int? _uid;
        private DateTime? _buydate;
        private decimal _scorerate;
        private decimal _totalmoney;
        private decimal _totalscore;
        private string _admin = String.Empty;
        private bool _status;

        public hfg_scorebuylog()
        {
        }

    

        //protected void LoadFromReader(SqlDataReader reader)
        //{
        //    if (reader != null && !reader.IsClosed)
        //    {
        //        _id = reader.GetInt32(0);
        //        if (!reader.IsDBNull(1)) _gid = reader.GetInt32(1);
        //        if (!reader.IsDBNull(2)) _uid = reader.GetInt32(2);
        //        if (!reader.IsDBNull(3)) _buydate = reader.GetDateTime(3);
        //        if (!reader.IsDBNull(4)) _scorerate = reader.GetDecimal(4);
        //        if (!reader.IsDBNull(5)) _totalmoney = reader.GetDecimal(5);
        //        if (!reader.IsDBNull(6)) _totalscore = reader.GetDecimal(6);
        //        if (!reader.IsDBNull(7)) _admin = reader.GetString(7);
        //        if (!reader.IsDBNull(8)) _status = reader.GetBoolean(8);
        //    }
        //}

     

        #region Public Properties
        public int? Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public int? gid
        {
            get { return _gid; }
            set { _gid = value; }
        }

        public int? uid
        {
            get { return _uid; }
            set { _uid = value; }
        }

        public DateTime? buydate
        {
            get { return _buydate; }
            set { _buydate = value; }
        }

        public decimal scorerate
        {
            get { return _scorerate; }
            set { _scorerate = value; }
        }

        public decimal totalmoney
        {
            get { return _totalmoney; }
            set { _totalmoney = value; }
        }

        public decimal totalscore
        {
            get { return _totalscore; }
            set { _totalscore = value; }
        }

        public string admin
        {
            get { return _admin; }
            set { _admin = value; }
        }

        public bool status
        {
            get { return _status; }
            set { _status = value; }
        }
        #endregion
    }
}
